Cheating-Death Client Documentation




www.unitedadmins.com/cdeath.php
This documentation is geared towards Cheating-Death v4.15.x

NOTICE

Unfortunately, the Cheating-Death (C-D) anti-cheat system is incompatible with servers that run VAC (Valve's own anticheat also known as "secure" servers). As of version 2.2.0, C-D can work with VAC supported MODs as long as VAC is disabled. Otherwise, C-D will try to prevent the connection or shutdown if VAC is detected. Never try to connect "secure" servers with C-D client running! If you see a message "Connection to VAC secure server has been aborted.", C-D just saved you from a global ban. Take this warning seriously.


Installation

Cheating-Death (C-D) can be installed in any directory you like.


Uninstall

To uninstall C-D, Uninstall "Cheating-Death 4.15.0" through "Control panel -> Add/Remove Programs" or execute "UninstCD.exe" in Cheating-Death directory.


Configuration

C-D has added a cd_fps command to allow you to modify the number of visual tests performed. On many computers the number of visual tests performed has very little impact on FPS. However, if C-D is reducing your FPS to an unacceptable level, modifing cd_fps may help. You should try to keep the number of visual tests as high as possible because it reduces the chances of visibility problems. cd_fps has the following values:

     0 - Maximum visibility tests (same as #6)(default)
     1 - Level 1 visibility tests (Minimum tests)
     2 - Level 2 visibility tests
     3 - Level 3 visibility tests
     4 - Level 4 visibility tests
     5 - Level 5 visibility tests
     6 - Level 6 visibility tests (Maximum tests)

You can modify cd_fps by pressing the "~" key while playing the game. This should bring down the console. In the console enter in "cd_fps", a blank space, the value you wish, and then press the enter key. Press the "~" again to return to the game.

To see what your current cd_fps level, press the "~" key while playing the game. This should bring down the console. In the console enter in "cd_fps" and then press the enter key. The current value of cd_fps will be displayed in the console. Press the "~" again to return to the game.

C-D has added a cd_sound command to allow you to modify how C-D removes non-visible players from the screen. On some systems, the method chosen can affect the sound. cd_sound has the following values:

     0 - This uses the new method of player removal. (default)
     1 - This uses the old method of player removal.

You can modify cd_sound using the same method as for modifying cd_fps.


Running

Run cdeath.exe, and then start your game however you normally start it.


Optional Mode for Listen Servers

This information only applies to people running listen servers. If you are only using C-D to play a game, then this does not apply to you. C-D has added an optional mode. There is now a cdrequired server rule. You many switch between optional and required mode at anytime by changing the cdrequired cvar. To persistently set this variable, add it to your listenserver.cfg file. The default mode is required or:
     cdrequired 1

You can put C-D into optional mode at any time by entering the following command:
     cdrequired 0

You can modify cdrequired using the same method as for modifying cd_fps.

When C-D is in optional mode, it will not kick anyone for not having C-D installed. When a player does not have C-D installed, "[No C-D]" will be prepended to their name. When a player has an older version of C-D installed, "[Old C-D]" will be prepended to their name. When a player has the correct version of C-D installed, their name will not be changed.

An easy way to tell who has C-D installed is to look at the scoreboard. (The default scoreboard key is the tab key.) By looking at the player's names you can tell who is running C-D.

If you switch from optional to required mode, all of the players not using C-D will be kicked.


Versions

4.15.0  - Improved detections
Added support for new drivers
Fps/choke fixes
Wine fixes (may still not work..)
4.14.0  - New detections
Steam/engine updates
Attempt to fix fps problems
Internal changes
4.13.1  - Quadro fixes
Bugfixes 
4.12.0  - New detections & bug fixes
4.11.0  - Support for new steam engine.
          Added new detections.
          Small tweaks.
4.10.0  - Bugfix release.
4.9.0   - Support for new Steam engine.
4.8.0.2 - Disabled VAC detection with serverquery.
          Fixed false Code[8] for Nvidia Quadro users.
4.8.0.1 - Fixed false Code[8] for Win9x Nvidia users.
4.8.0  - Support for new Steam engine.
         Added new detections.
         Re-enabled VAC detection with serverquery.
         False code fixes.
4.7.0  - Support for new Steam engine.
         Fixed 'laggy keyboard input on win9x/me' bug.
         Tweaks for better fps.
         Added support for Windows NT4.
4.6.1  - Fixed false Code[7] for ASUS users.
         Fixed false Code[53] for 3dfx users.
         Fixed false Code[51] for Nvidia Quadro users.
         Tweaks for less lag.
4.6.0  - Fixed 'not working after changing video mode' bug with Steam.
         Changed location of cd.dll and cd.bin. They are now located in new folder under C-D folder.
         Tweaked injection code.
         Added new detections.
4.5.1  - Added support for Steam/CS 1.6 software mode.
         Added new injection method for Windows 2000/XP/2003.
         Added automatic/silent update option to GUI program.
         Added better detection for Half-Life process.
         Disabled VAC detection with serverquery.
         Disabled ex_interp cvar check for Steam/CS1.6
         Fixed 'HUD messages missing' bug with Steam-VAC mods.
         Fixed logging of full hl.exe filepath on Windows 95/98/ME.
         Fixed 'empty lines' bug with logging.
         Fixed hooking to work on Windows 95/98/ME.
         Fixed Code[24] for new NVidia drivers.
         Fixed Code[24] for some Nvidia Quadro users.
         Fixed Code[30] for some users.
         Fixed Code[15] with Steam-Friends.
         Tweaks for better fps and for less lag and choke.
4.5.0  - Added support for Steam/CS 1.6.
         Removed gl_polyoffset violation check.
         Fixed Code [1] for Nvidia Quadro users.
4.4.0  - Fixed Code [2, 50] issue.
         Fixed Code [34] for Nvidia Quadro users.
         Added gl_polyoffset violation check.
         Fixed random lagging.
4.3.0  - Added new detections.
4.2.0  - Removed virus check. You can detect virus by the old way: If game crashes with C-D and hl.exe/cstrike.exe is bigger than 1.00Mb get virus scanner.
         Recoded VAC hooking code that caused problems to a very small number of users.
         Fixed CreateRemoteThread exploit.
         Added new detections.
4.1.0  - Added support for German DoD 1.0 Retail.
         Fixed game crashing when process monitor was on.
         Fixed GUI program hanging up when updating.
         Added new detections.
4.0.0  - Added automatically updating challenge system.
         Fixed false code[47] with HLSS.
         Improved FPS.
3.3.1  - Fixed crash bug.
3.3.0  - Added new injection method for Day of Defeat retail.
         Added new settings to options for control new method.
         Fixed engine detection.
         Fixed problems with CS/DoD for some users.
         Fixed false [15] codes.
         Fixed false code[46] with DoD mod version.
         Fixed low FPS for some ATI Radeon users.
         Improved FPS.
         Fixed C-D icon showing in taskbar even when minimized.
         Fixed C-D window not minimizing on Windows XP.
         Changed the challenge.
3.2.0  - Fixed crash in engine detection.
         Fixed false code[46].
         Fixed false code[15] for most users.
         Changed the challenge.
3.1.0  - Fixed support for DoD 1.0 Mod engine (false Code[30]).
         Changed back to old hooking method.
         Added new hooking method for DoD Retail 1.0.
         Added more fixes to code[41].
         Added new detections.
         Changed the challenge.
3.0.0  - Added support for Day of Defeat 1.0 Retail.
         Remade GUI program.
         Changed hooking method.
         Fixed wallhack block to work better on thin walls.
         Fixed connection problems behind routers.
         Fixed lagging bug.
         Improved FPS.
         Fixed false code[41] for some users.
         Fixed false code[2] for some users.
         Changed the challenge.
2.12.1 - Added ex_interp cvar check for values larger than 0.1 and smaller than 0.05.
         Fixed false code[41] problems.
         Added new detections.
2.11.1 - Fixed connection problems for some users.
         Fixed bug that caused C-D not to work with the in game server browser sometimes.
2.11.0 - Added code to check if server is running in VAC secure mode before connecting.
         Changed automatic autoupdate to start five seconds after starting to fix server 
           browser launcher problems. (If game is running autoupdate doesn't start.)
         Fixed false Code[46] for some Natural-Selection players.
         Fixed bug that caused Cheating-Death to skip important checks on Windows 95/98/ME.
         Fixed bug causing crashing for some users.
         Added new detections.
         Improved some detections.
         Changed the challenge.
2.10.0 - Added DoD 1.0 support.
         Fixed Code[15] problems.
         Fixed black screen for some 3dfx users.
         Changed the challenge.
2.9.1  - Fixed false Code[49] for some GeForce users.
2.9.0  - Fixed Code[17] bugs.
         Fixed bug in wallhack block that in some cases caused players behind models go 
           invisible.
         Added new detections.
         Changed the challenge.
2.8.0  - Added Wine support. (WineX isn't going to be supported for now)
         Improved hooking.
         Added more OpenGL wrapper detections.
         Changed the challenge.
2.7.1  - Fixed Code[19] for software mode.
         Fixed gl_max_size violation for software mode.
         Removed anti-recoil block.
2.7.0  - Added code to block anti-recoil tools.
         Added code to block crosshair hacks.
         Added gl_monolights cvar tests.
         Added gl_max_size cvar tests.
         Fixes to hooking code.
         Fixes for 3dfx drivers.
         Fixes for Wine/WineX.
         Changed the challenge.
2.6.1  - Fixed lagging issue with VAC MODs (Counter Strike, Day of Defeat).
         Changed readme to html.
2.6.0  - Fixed Code[33] for 3dfx MiniGL 1.49
         Tweaks to solve freeze bug.
         Fixed OpenGL wrapper detection.
         Changed the challenge.
2.5.0  - Changed the challenge.
         Fixed detection of some wrappers.
2.4.1  - Fixed problems for AU8830/20 chipset soundcards.
2.4.0  - Added Auto-update.
         Fixed Code[32] for ATI Radeon users.
         Fixed Code[16] for ActionHL.
         Fixed third person spectator mode.
         Changed the challenge.
2.3.2  - Fixed Code[21] for 3Dfx users.
         Fixed Code[32] for ATI OpenGL drivers.
         Fixed default_fov problems.
2.3.0  - Fixes to Code[15] test.
         Changed the challenge.
2.2.0  - Support for VAC insecure servers (Counter-Strike, Day of Defeat) (only HL 1.1.1.0)
         Fixed team icons for FLF
2.1.2  - TextMsg exploit blocked
2.1    - Added Natural-Selection MOD support.
2.0    - Now supports the new Valve engine for non-VAC mods.
1.2    - Changed the challenge.
1.1    - Changed the challenge.
1.0.2  - Removed the Code[22] test.
1.0.1  - Removed the Code[23] test.
1.0    - Added Vasily's OpenGL test.
         Added cl_pitchup/cl_pitchdown cvar tests.
         Changed the challenge.
0.9.3  - Fixed Code[17] problem.
         Made cdeath always exec the command line.
         Test for modifing hw.dll and sw.dll cvar names.
         Fixed sniper rifle fade on DoD.
         Fixed Code[14] on FireArms
         Added cd_sound flag.
         Fixed Code[13] problem.
         Added cd_version.
0.9.2  - Fixed bug in optional mode.
0.9.1  - Fixed bug in challenge.
0.9    - Fixed sound problems.
         Fixed problem where C-D would freeze on some systems.
         Added system tray support.
         Added more hack tests.
         Added client interface tampering protection.
         Added code to check for multiple clients.
         Added code to check for lag cheats.
         Added code to check for speed cheats.
         Added code to check for colored models.
         Fixed FOV related flicker problem on DoD.
         Added a custom loader.
         Fixed problem of cdeath.exe not always saving options.
         Added support for DoD 2.0, Oz 2.5, and FireArms.
         Added client side support for HLTV.
0.8b   - Added cd_fps cvar.
         Fixed map change bug.
         Added more visual tests.
         Added a distance visual test.
         Added more hack detection tests.
0.8a   - Fixed camera bug.
         Centers voice icon over players.
         Improves FPS.
0.8    - Added more visibility tests.
         Fixed a bug in the visibility code.
         Prevent TFC spectator hack.
         Prevent r_fullbright cheat.
         Prevent gl_wireframe cheat.
0.7c   - Improved FPS speed.
         Fixed some visibility problems.
         Added German readme.
0.7b   - Prevent for r_drawentities cheat.
         Fixed WinXP compatibility issues.
         Removed some hacking checks.  Should fix some of the 
         "Your system has been modified" warnings.
0.7a   - Fixed bug where players would disappear at odd angles and on ladders.
0.7    - Fixed a jitter problem on TFC on snipper scopes.
         Added code to check for generic hooking and hacking.
         Fixed bug where bullet decals where showing up lower than normal.
0.6    - Added code to prevent some cheats from removing flashes on flashbangs.
         Added code to check for opengl hooking.
         Fixed problems with locations of sounds.
         Fixed some of the "flickering" player problems.
0.5    - Fixed bug where some engines were not being recognized.
0.4    - Added launcher.  Changed the way C-D hooks into half-life.
0.3    - Fixed bug in kick statement.
0.2    - Skipped this version number so it would not be confused with CD2.
0.1    - Added AdminMod support
0.0    - Initial release

Credits

Many people deserve credit for Cheating-Death.

Botman - Much of my overall understanding of how the half-life game works comes from Botman's HPBBot code. His tutorials and source code provided my basic education in Half-Life MOD development. (www.planethalflife.com/botman/)

ClientBot Programming Board - Much of my detailed understanding of how the Half-Life game works comes from the participants of the ClientBot board. Vasily, System, DeltaShark, ReDucTor, Quabalah, and many others have been very generous in sharing their knowledge, ideas, and code.

Others - I have also picked up good ideas from many other forms, websites, and people. The people on our development mailing list have provided many excellent ideas.

I hope I am not leaving anybody out.

I know that no client-side add-on will ever be able to stop all of the cheating. But maybe it can make the game more enjoyable, and without a lot of hassle. It is my hope that we have been successful.